package com.jinzecloud.reportapproval.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.jinzecloud.reportapproval.utils.PageUtils;
import com.jinzecloud.reportapproval.utils.Query;

import com.jinzecloud.reportapproval.mapper.FieldSurveyRecordSheetMapper;
import com.jinzecloud.reportapproval.bean.FieldSurveyRecordSheet;
import com.jinzecloud.reportapproval.service.FieldSurveyRecordSheetService;


@Service("fieldSurveyRecordSheetService")
public class FieldSurveyRecordSheetServiceImpl extends ServiceImpl<FieldSurveyRecordSheetMapper, FieldSurveyRecordSheet> implements FieldSurveyRecordSheetService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<FieldSurveyRecordSheet> page = this.page(
                new Query<FieldSurveyRecordSheet>().getPage(params),
                new QueryWrapper<FieldSurveyRecordSheet>()
        );

        return new PageUtils(page);
    }

}